package com.airbat.prize.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 指令详情动作
 */
@AllArgsConstructor
@Getter
public enum ProcessDetailActionedEnum {

    CREATE("创建", true, false, false),

    RECEIVE("接收", true, false, false),

    ISSUE("下发", true, false, false),

    DISPOSE("处置", true, false, true),

    AUDIT("审核", true, true, false),

    APPROVE("同意", true, true, false),

    AUTO_APPROVE("自动同意", true, true, true),

    REFUSE("拒绝", true, false, false),

    REVOKE("撤销", true, false, false),
    ;

    private String name;

    //是否可以自动审核
    private boolean autoApprove;

    //是否可以向上审核
    private boolean upward;

    //是否可以撤回
    private boolean revocable;

}
